//
//  FFFieldHandler.h
//  ForceField
//
//  Created by Roxanne Brittain on 11/22/11.
//  Copyright (c) 2011 Digifit. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FFObject.h"
#import "FFVector.h"
#include <vector>
#import <Foundation/Foundation.h>  

#ifndef ForceField_FFFieldHandler_h
#define ForceField_FFFieldHandler_h

//N*m^2/C^2 * 10^3
#define kPropConstant 1000000//8987551.787

class FFFieldHandler
{
public:
    void applyForceFields(std::vector<FFObject*> objects);
    float calculateAndApplyForces(FFObject *o1, FFObject *o2);

private:
    
};

float distanceBetweenObjects(FFObject *o1, FFObject *o2);

#endif
